package com.lottery.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("lottery_winner")
public class LotteryWinner {
    /**
     * 中奖记录ID
     */
    @TableId(type = IdType.AUTO)
    private Long winnerId;
    
    /**
     * 用户ID
     */
    private Integer userId;
    
    /**
     * 活动ID
     */
    private Integer activityId;
    
    /**
     * 奖品ID
     */
    private Integer prizeId;
    
    /**
     * 中奖时间
     */
    private LocalDateTime winTime;
    
    /**
     * 奖品状态：0-未领取 1-已领取
     */
    private Integer prizeStatus;
} 